﻿using Domain.Entities.ToDo;
using FrameworkCore.Models;

namespace AiBLSmartEdu.Module.ToDo.API.DTOs;

/// <summary>
/// 分页输入模型
/// </summary>
public class ToDoItemPaginationFilter : PaginationFilter
{
    /// <summary>
    /// 标题
    /// </summary>
    public string? Title { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 任务截止日期
    /// </summary>
    public DateTime? DueDate { get; set; }

    /// <summary>
    /// 是否完成
    /// </summary>
    public bool? IsCompleted { get; set; }

    /// <summary>
    /// 任务等级
    /// </summary>
    public ToDoPriorityType? Priority { get; set; }
}
